<html>
<head>
<title>我的会员卡</title>
<meta charset="utf-8">
<meta name="viewport"
	content="width=device-width,initial-scale=1,user-scalable=no">
<link href="https://res.wx.qq.com/open/libs/weui/1.1.2/weui.min.css"
	rel="stylesheet" type="text/css">
<script src="../../js/common.js"></script>
<script src="../../../../common/jquery-3.3.1.min.js"></script>
<script>

	var timmerFlag = 0;
	$(document).ready(function() {
		init();
	});
	function init() {
		var Request = new UrlSearch();
		var code = Request.code;
		var url = "/yuea/weixin/membershipCard/getAll";
		$.ajax({
			url : url,
			type : "get",
			success : function(response) {
				$("#showResult").html((JSON.stringify(response)));
			}
		})
	}

	
</script>
</head>
<body>
	<div id="showResult"></div>
	<div class="weui-panel__bd">
		<div class="weui-media-box weui-media-box_appmsg">
			<div class="weui-media-box__hd">
				<img class="weui-media-box__thumb"
					src=""
					alt="">
			</div>
			<div class="weui-cell__bd">
				<p>尊敬的顾客您好，欢迎光临本店，祝您生活愉快！</p>
			</div>
		</div>

		<div class="weui-cell weui-cell_access" style="margin-right: 15px">
			<span>会员卡信息：</span>
		</div>
		<div class="weui-panel__bd" style="margin: 0px 15px">
			<div class="weui-form-preview">
				<div class="weui-form-preview__bd" style="padding: 10px 0px">
					<p>
						<label class="weui-form-preview__label">卡号</label> <span
							class="weui-form-preview__value">1000803654897</span>
					</p>
					<p>
						<label class="weui-form-preview__label">当前余额</label> <span
							class="weui-form-preview__value">￥78.6</span>
					</p>
					<p>
						<label class="weui-form-preview__label">会员卡类型</label> <span
							class="weui-form-preview__value">剪发卡</span>
					</p>
					<p>
						<label class="weui-form-preview__label">折扣描述</label> <span
							class="weui-form-preview__value">男女剪发享5折优惠</span>
					</p>
				</div>
			</div>
		</div>
	</div>

	<div class="weui-panel__bd">
		<div class="weui-cell weui-cell_access">
			<span>会员卡充值：</span>
		</div>
		<div class="weui-cells weui-cells_form" style="margin: 0px 15px">
			<div class="weui-cell" style="padding: 10px 0px">
				<div class="weui-cell__hd">
					<label class="weui-label">充值金额</label>
				</div>
				<div class="weui-cell__bd">
					<input class="weui-input" type="number" pattern="[0-9]*"
						placeholder="请输入充值金额" />
				</div>
			</div>
		</div>
	</div>

	<div class="button-sp-area" style="padding: 10px 15px">
		<a href="javascript:;" class="weui-btn weui-btn_primary">会员卡充值</a>
	</div>

</body>
</html>